package com.swm.mapper;


import com.swm.pojo.Stock;

import java.util.List;

public interface StockMapper {
    int insertStock(Stock stock);

    int updateStock(Stock stock);

    Stock selectByCode(String code);

    List<Stock> selectAllStock();

    int deleteByCode(String code);
}
